std::cbrt

From Cppreference

Jump to: navigation, search
Defined in header <cmath>

float       cbrt( float arg );
(C++0x feature)
double      cbrt( double arg );
(C++0x feature)
long double cbrt( long double arg );
(C++0x feature)

Computes cubic root of arg.

Parameters

arg - floating point value

Return value

cubic root of arg.

Domain error occurs if arg is negative. ​NAN​ is returned in that case.

See also

sqrt
square root
(function)
pow
returns the given number raised to the given power
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages